package com.huijiet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huijiet.entity.SysMember;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysMemberMapper extends BaseMapper<SysMember> {

    /**根据用户名查找*/
    SysMember getByUsername(@Param("username")String username);

    /**后台获取用户列表*/
    List<SysMember> list(@Param("start")Integer start,
                      @Param("num")Integer num);

    /**后台获取用户总数*/
    int listCount();
}
